package com.qf.dao;

import com.qf.bean.Role;

import java.util.List;

public interface RoleMapper {
    //根据部门id查询角色信息
    public List<Role> findbyDeptid(int did);

    int deleteByPrimaryKey(Integer roleid);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleid);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}